package com.guoning.office_system.model;

import java.util.Date;

public class Department {
    private Long id;

    private Long pid;

    private String departmentCode;

    private String departmentName;

    private Long userId;

    private String remark;

    private Integer status;

    private String creator;

    private Date createTime;

    private String modifier;

    private Date modifiedTime;

    private Date ts;

    private Integer dr;

    public Department(Long id, Long pid, String departmentCode, String departmentName, Long userId, String remark, Integer status, String creator, Date createTime, String modifier, Date modifiedTime, Date ts, Integer dr) {
        this.id = id;
        this.pid = pid;
        this.departmentCode = departmentCode;
        this.departmentName = departmentName;
        this.userId = userId;
        this.remark = remark;
        this.status = status;
        this.creator = creator;
        this.createTime = createTime;
        this.modifier = modifier;
        this.modifiedTime = modifiedTime;
        this.ts = ts;
        this.dr = dr;
    }

    public Department() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public String getDepartmentCode() {
        return departmentCode;
    }

    public void setDepartmentCode(String departmentCode) {
        this.departmentCode = departmentCode == null ? null : departmentCode.trim();
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName == null ? null : departmentName.trim();
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier == null ? null : modifier.trim();
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public Date getTs() {
        return ts;
    }

    public void setTs(Date ts) {
        this.ts = ts;
    }

    public Integer getDr() {
        return dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }
}